/**
 * 交通工具抽象类
 */
package 设计模式.SimpleFactory;

public abstract class Traffic {
    private float gl;// 功率
    private float zz;//载重

    public float getGl() {
        return gl;
    }

    public void setGl(float gl) {
        this.gl = gl;
    }

    public float getZz() {
        return zz;
    }

    public void setZz(float zz) {
        this.zz = zz;
    }
    public abstract void transform();//运输
}
